package com.zhongke.cotrun.mapper;


import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongke.cotrun.model.pojo.PayBankroll;

/**
 * @Description: 资金明细信息
 * @Author: songjing
 * @Date:   2020-03-20
 * @Version: V1.0
 */
public interface PayBankrollMapper extends BaseMapper<PayBankroll> {
	/**
     * 根据orderCode查看订单详情
     *
     * @param 订单号
     * @return
     */
	@Select("SELECT * from pay_bankroll WHERE order_code=#{orderCode} and del_flag='0' limit 1")
	public PayBankroll selectDetailByOrderCode(String orderCode);
}
